
package com.pp.admin.common.client.service;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.pp.admin.common.client.beans.LoginUserInfo;

public interface LoginServiceAsync {
	
	void logOut( AsyncCallback<Void> callback );
	
	void login( String userID, String password, String domain, AsyncCallback<LoginUserInfo> callback );
	
	void createUser( String domain, AsyncCallback<Void> callback );
	
	void isUserLogedIn( String domainID, AsyncCallback<LoginUserInfo> callback );
	
}
